package com.bjpowernode.crm.workbench.service;

import com.bjpowernode.crm.workbench.domain.Activity;
import com.bjpowernode.crm.workbench.domain.Customer;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


public interface CustomerService {

    //创建客户
    int SaveCreateCustomer(Customer customer);

    //查找客户信息
    List<Customer> queryCustomerByConditionForPage(Map<String, Object> map);

    //查找符合信息的用户数量
    int queryCountOfCustomerByCondition(Map<String, Object> map);

    //根据客户id来批量删除数据
    int deleteCustomerByIds(String[] id);

    Customer selectCustomerById(String id);

    int saveEditCustomer(Customer customer);
}
